<template>
  <div class="sidebar-logo">
    <a href="https://gitee.com/gameplugdev/ant-element-ui" target="blank">
      <img src="@/assets/images/logo.png" />
      <h1>Ant-Element UI</h1>
    </a>
  </div>
</template>

<script>
export default {
  name: 'SidebarLogo'
};
</script>

<style lang="scss" scoped>
.sidebar-logo {
  position: relative;
  height: 64px;
  padding-left: 24px;
  overflow: hidden;
  line-height: 64px;
  background: #001529;
  transition: all 0.3s;

  img {
    display: inline-block;
    height: 32px;
    vertical-align: middle;
  }

  h1 {
    display: inline-block;
    margin: 0 0 0 12px;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
    vertical-align: middle;
  }
}
</style>
